﻿namespace ScrumLite.Data
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using ScrumLite.Data;

    public class AbilityStore : IAbilityStore
    {
        public Ability[] GetAbilities()
        {
            using (ScrumLiteDataContext ctx = new ScrumLiteDataContext())
            {
                return ctx.Abilities.ToArray();
            }
        }
    }
}
